@import url("../publicStyle.less");

.legal-review-container {
  .form-info {
    .widthAndHeight(100%, calc(100vh - 100px));
    .contentOverflowRoll();
    font-size: 28px;
    color: @TitleText;
    padding: 40px 20px 20px;
    background-color: @ZebraCrossing;
    box-sizing: border-box;

    .form-info-switch {
      .flex();
      .widthAndHeight(336px, 64px);
      .DetailsText();
      line-height: 64px;
      margin: 0 auto 40px;
      padding: 4px;
      background-color: @AssistLightGrey;

      &>span {
        width: 50%;
        text-align: center;
      }

      .switch-active {
        font-weight: 500;
        background-color: @AssistBgWhite;
      }
    }

    .form-info-list {
      border-radius: 8px;
      background-color: @AssistBgWhite;

      .form-info-item {
        display: flex;
        justify-content: space-between;
        padding: 24px 16px;
        border-bottom: 2px solid @AssistLightGrey;

        &.detect-text {
          border-bottom: none;

          &>span:last-of-type {
            position: relative;
            .widthAndHeight(486px, 480px);
            padding: 24px 16px 54px;
            box-sizing: border-box;
            background-color: @ZebraCrossing;
            border-radius: 8px;

            textarea {
              .widthAndHeight(100%, 100%);
              background-color: @ZebraCrossing;
              padding: 0;
            }

            .detect-text-length {
              position: absolute;
              right: 16px;
              bottom: 16px;
              font-size: 20px;
            }
          }
        }

        .iconfont {
          font-size: 32px;
          margin-left: 16px;
        }

        &:last-of-type {
          border-bottom: none;
        }

        &>span:first-of-type {
          width: 208px;
          text-align: left;

          .required-active {
            width: 16px;
            font-weight: 600;
            color: @AssistTextB;
          }
        }

        &>span:last-of-type {
          flex-grow: 1;
          text-align: right;
          color: @ContentText;
        }

        input[type="text"] {
          .widthAndHeight(100%, 100%);
          text-align: right;
          padding: 0;
        }

      }

      .add-image{
        position: relative;
        padding-bottom: 80px;

        &>p{
          position: absolute;
          left: 20px;
          bottom: 24px;
          color: @ContentText;
        }
      }

      .form-uploader {
        .custom-add-picture-style {
          .widthAndHeight(148px, 148px);
          text-align: center;
          font-size: 24px;
          border: 2px dashed @AssistLightGrey;
          border-radius: 16px;

          img {
            .widthAndHeight(64px, 64px);
            margin-top: 24px;
          }
        }
      }
    }

    .submit {
      display: block;
      width: 672px;
      font-size: 32px;
      color: #fff;
      text-align: center;
      padding: 22px 38px;
      margin: 80px auto 0;
      border-radius: 8px;
      box-sizing: border-box;
      background-color: @MainColor;
    }
  }
}
